<!--填报课程考核实施计划-->
<template>
  <div class="paperprint-container">
    <div class="search-container">
      <div class="search-container-left">
        <div class="search-container-item">
          <span>学期：</span>
          <el-select
            v-model="xq"
            style="width: 91px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in xqList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
        <div class="search-container-item">
          <span>课程负责单位:</span>
          <el-input
            style="width: 142px"
            size="mini"
            placeholder="请输入课程负责单位"
            v-model="course"
          ></el-input>
        </div>
        <div class="search-container-item">
          <span>培养层次：</span>
          <el-select
            v-model="level"
            style="width: 90px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in ppccList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
         <div class="search-container-item">
          <span>年级：</span>
          <el-select
            v-model="nj"
            style="width: 91px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in njList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
        <div class="search-container-item">
          <span>专业班次</span>
          <el-select
            v-model="zybctype"
            style="width: 70px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in zybctypelist"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
        <div class="search-container-item">
          <span>修习类型：</span>
          <el-select
            v-model="xxtype"
            style="width: 80px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in xxlxList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
        <div class="search-container-item">
          <span>课程名称：</span>
          <el-input
            style="width: 102px"
            size="mini"
            placeholder="请输入课程名称"
            v-model="course"
          ></el-input>
        </div>
        <div class="search-container-item">
          <span>教员名称：</span>
          <el-input
            style="width: 122px"
            size="mini"
            placeholder="请输入课程负责人"
            v-model="coursecharge"
          ></el-input>

        </div>
        <div class="search-container-item">
          <span>状态：</span>
          <el-select
            v-model="sqwr"
            style="width: 91px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in sqwrList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
       <div  class="search-button">
          <img src="../../../assets/assessment/icon-search.png" alt="" />
          <span>查询</span>
        </div>
      </div>
     
    </div>

    <div class="plan-entry-table-container">
      <el-table
        :data="tableData"
        border
        style="width: 100%"
        class="table-data"
        row-class-name="row-class"
        cell-class-name="cell-class"
        header-row-class-name="header-row-class"
        header-cell-class-name="header-cell-class"
      >
       <el-table-column prop="cz" label="操作" width="110" align="center">
          <template slot-scope="scope" >
          
            <div class="export-button" >
              <img src="../../../assets/assessment/icon-export.png" alt="" />
              <span @click="RouterTo">查 看</span>
            </div>
            
          </template>
        </el-table-column>
  
        <el-table-column prop="x" width="113" align="center">
          <template slot-scope="scope" slot="header">
            <div>系</div>
            <div>【教研室】</div>
          </template>
          <template slot-scope="scope">
            <div>{{ scope.row.x }}</div>
            <div>{{ scope.row.jys }}</div>
          </template>
        </el-table-column>
        <el-table-column prop="kcbh" width="125" align="center">
          <template slot-scope="scope" slot="header">
            <div>课程编号</div>
            <div>【课程名称】</div>
          </template>
          <template slot-scope="scope">
            <div>{{ scope.row.kcbh }}</div> 
            <div>{{ scope.row.kcmc }}</div>
          </template>
        </el-table-column>
        <el-table-column prop="pycc" label="培养层次" width="94" align="center">
        </el-table-column>
        <el-table-column prop="xxlx" label="修习类型" width="54" align="center">
        </el-table-column>
        <el-table-column
          prop="skjy"
          label="授课教员"
          width="92"
          align="center"
        >
        </el-table-column>
        <el-table-column prop="nj" label="年纪" width="63" align="center">
        </el-table-column>
        <el-table-column prop="jxb" label="教学班" width="80" align="center">
        </el-table-column>
        <el-table-column prop="zybc" label="专业班次" width="180" align="center">
        </el-table-column>
        <el-table-column prop="rs" width="105" align="center">
          <template slot-scope="scope" slot="header">
            <div>教学班</div>
            <div>人数</div>
          </template>
        </el-table-column>
        <el-table-column prop="zrs" label="总人数" width="90" align="center">
        </el-table-column>
         <el-table-column prop="fz" label="分制" width="90" align="center">
        </el-table-column>
        <el-table-column prop="kxzybl" width="109" align="center">
          <template slot-scope="scope" slot="header">
            <div>课下作</div>
            <div>业比例</div>
          </template>
        </el-table-column>
        <el-table-column prop="ktszbl" width="110" align="center">
          <template slot-scope="scope" slot="header">
            <div>课堂测评</div>
            <div>所占比例</div>
          </template>
        </el-table-column>
        <el-table-column prop="qzksszbl" align="center">
          <template slot-scope="scope" slot="header">
            <div>期中考试</div>
            <div>所占比例</div>
          </template>
        </el-table-column>
        <el-table-column prop="kzkhszbl" align="center">
          <template slot-scope="scope" slot="header">
            <div>课终考核</div>
            <div>所占比例</div>
          </template>
        </el-table-column>
         <el-table-column prop="ypfj" align="center">
          <template slot-scope="scope" slot="header">
            <div>一票</div>
            <div>否决</div>
          </template>
        </el-table-column>
      </el-table>
      
    </div>
    <div class="bottom-block">
      <div class="export-button">
        <img src="../../../assets/assessment/icon-export.png" alt=""/>
<!--        <span>导出Excel</span>-->
        <download-excel
          class="export-btn"
          :data="tableData"
          :fields="jsonFields"
          type="xls"
          name="填报课程考试计划.xls"
          style="color: #f3b815"
        >
          &ensp;导出Excel
        </download-excel>
      </div>
      <div class="text">授课教员名字后加“*”为课程负责人</div>
    </div>
    <div class="pagination-block">
      <el-pagination
        prev-text="上一页"
        next-text="下一页"
        :page-size="100"
        layout="prev, pager, next, jumper"
        :total="1000"
      >
      </el-pagination>
    </div>

  </div>
  
</template>

<script>
export default {
  data() {
    return {
      //审批进度
      showAddMessageRemark: false,
       showBackDialog: false,
      state:"1",
      course: "",
      xq: "2021春",
      xqList: [
        {
          value: "2021春",
          label: "2021春",
        },
        {
          value: "2021夏",
          label: "2021夏",
        },
      ],
      sqwrL:"未提交",
      sqwrList:[
        {
          value: "未提交",
          label: "未提交",
        },
        {
          value: "已提交",
          label: "2021夏",
        }
      ],
      level: "",
      ppccList: [
        {
          value: "大专",
          label: "大专",
        },
        {
          value: "本科",
          label: "本科",
        },
      ],
       zybctype: "班次1",
      zybctypelist: [
        {
          value: "班次1",
          label: "班次1",
        },
        {
          value: "班次2",
          label: "班次2",
        },
      ],
      nj: "年级",
      njList: [
        {
          value: "年级",
          label: "大年级专",
        },
        {
          value: "本科",
          label: "本科",
        },
      ],
      xxtype: "",
      xxlxList: [
        {
          value: "选修",
          label: "选修",
        },
        {
          value: "必修",
          label: "必修",
        },
      ],
      kcfzr: "",
      kcfzrList: [
        {
          value: "李丽",
          label: "李丽",
        },
        {
          value: "万万",
          label: "万万",
        },
      ],
       pjChecks: [
            {
              job: "教员",
              checkdate: "2021-06-04",
              time: "17：52",
              url: "icon-finish",
              text: "留言",
              state:"0",
            },
            {
              job: "教研室主任",
              checkdate: "2021-06-04",
              time: "17：52",
              url: "icon-dai",
              text: "操作",
               state:"1",
            },
            {
              job: "领导3",
              checkdate: "2021-06-05",
              time: "10：52",
              url: "icon-close",
              text: "操作",
               state:"2",
            },
          ],
      tableData:[
        {
          x:"sss",
          jys:"教研室",
          kcbh:"12312", 
          kcmc:"体育课",
          pycc:"ss", 
          xxlx:"ssssa", 
          skjy:"ssssa", 
          nj:"13", 
          jxb:"教学班", 
          zybc:"s搜索",
          rs:"s搜索",
          zrs:"s搜索",
          fz:"s搜索", 
          kxzybl:"s搜索", 
          ktszbl:"s搜索", 
          qzksszbl:"s搜索", 
          kzkhszbl:"s搜索", 
          ypfj:"s搜索",
        },
          {
          x:"sss",
          jys:"教研室",
          kcbh:"12312", 
          kcmc:"体育课",
          pycc:"ss", 
          xxlx:"ssssa", 
          skjy:"ssssa", 
          nj:"13", 
          jxb:"教学班", 
          zybc:"s搜索",
          rs:"s搜索",
          zrs:"s搜索",
          fz:"s搜索", 
          kxzybl:"s搜索", 
          ktszbl:"s搜索", 
          qzksszbl:"s搜索", 
          kzkhszbl:"s搜索", 
          ypfj:"s搜索",
        },
      ]
      
    };
  },
  methods:{
    auditStatus(){
      this.state=2
    },
    RouterTo(){
       this.$router.push('/admin/planManagement/editPlanManage')
     
    }
  },
  created() {
    
    
  },
 
 
 
}
</script>

<style lang="less" scoped>
.back-textas {
      margin-top: 33px;

      > div {
        display: inline-block;

        &:nth-child(1) {
          padding-left: 111px;
          font-size: 20px;
          color: rgba(0, 76, 167, 1);
          font-weight: bold;
          vertical-align: top;
        }
      }
    }
.item_btn {
  width: 55px;
  height: 28px;
  line-height: 28px;
  background: #f1f8fe;
  border: 1px solid #51aef6;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
 .manual-entry-container {
    .el-dialog__body {
      > div {
        width: 1014px;
        border: 1px solid rgba(0, 76, 167, 0.8);
        border-radius: 6px;
        margin: 0 auto;
        > div {
          border-bottom: 1px solid rgba(0, 76, 167, 0.39);
          &:last-child {
            border-bottom: none;
          }
          > div {
            display: flex;
            > div {
              height: 96px;
              display: flex;
              align-items: center;
              justify-content: center;
              &:nth-child(1) {
                width: 80%;
               
                text-align: center;
                font-size: 16px;
                font-weight: bold;
                color: #004ca7;
               
              }
              &:nth-child(1) {
                 height: 200px;
              }
            }
          }
        }
      }
    }
    .el-dialog__footer {
      padding-bottom: 43px;
    }
    .dialog-footer {
      > button {
        width: 91px;
        height: 36px;
        background: #fff6ef;
        border: 1px solid #f3b815;
        border-radius: 6px;
        background: rgba(255, 246, 239, 1);
        font-size: 18px;
        color: #f3b815;
      }
    }
  }
.assessment-container {
  .export-report-container {
    .el-dialog__body {
      padding: 64px 0 64px 50px;
      .el-radio {
        margin-right: 79px;
      }
    }
    .el-dialog__footer {
      padding-bottom: 103px;
    }
  }
  .import-report-container {
    .el-dialog__body {
      padding-left: 165px;
      padding-top: 71px;
      padding-bottom: 60px;
      > div {
        > span {
          font-size: 18px;
          font-weight: bold;
          line-height: 20px;
          color: #004ca7;
          vertical-align: middle;
        }
        > input {
          width: 254px;
          height: 25px;
          border: 1px solid #004ca7;
          opacity: 1;
          border-radius: 4px;
          padding-left: 5px;
          margin-right: 8px;
          color: #004ca7;
          vertical-align: middle;
        }
        > div {
          display: inline-block;
          font-size: 18px;
          padding: 1px 10px;
          border-radius: 4px;
          vertical-align: middle;
          cursor: pointer;
          &:nth-child(3) {
            color: rgba(2, 200, 108, 1);
            background: #f1fff8;
            border: 1px solid #02c86c;
            position: relative;
            margin-right: 20px;
            > input {
              width: 0px;
              position: absolute;
              left: 0;
              opacity: 1;
              cursor: pointer;
            }
          }
          &:nth-child(4) {
            color: rgba(82, 48, 233, 1);
            background: rgba(235, 230, 255, 1);
            border: 1px solid rgba(82, 48, 233, 1);
          }
        }
      }
    }
    .el-dialog__footer {
      padding-bottom: 76px;
      .green {
        padding: 1px 17px;
      }
    }
  }
}
.plan-entry-table-container {
  margin-top: 30px;
  .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }
  .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }
  .el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }
  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }
  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
  }
  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }
  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }
  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }
  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }
  .export-button {
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: auto;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    box-sizing: border-box;
    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #f3b815;
    }
    > img {
      width: 16px;
      height: 16px;
      margin-right: 5px;
    }
  }

  .lucj-import-button {
    .export-button;
    width: 116px;
    margin: 0 auto 12px;
    background: #f1fff8;
    border: 1px solid #02c86c;
    &:last-child {
      margin-bottom: 0px;
    }
    > span {
      color: #02c86c;
    }
  }
  .lucj-expot-button {
    .export-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: 81px;
    margin: 0 auto 12px;
    &:last-child {
      margin-bottom: 0px;
    }
    > span {
      color: #f3b815;
    }
  }
}
.pagination-block {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.paperprint-container {
  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }

  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }

  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }

  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }

  .export-report-container {
    .el-dialog__body {
      padding: 64px 0 64px 50px;

      .el-radio {
        margin-right: 79px;
      }
    }

    .el-dialog__footer {
      padding-bottom: 103px;
    }
  }

  .import-report-container {
    .el-dialog__body {
      padding-left: 165px;
      padding-top: 71px;
      padding-bottom: 60px;

      > div {
        > span {
          font-size: 18px;
          font-weight: bold;
          line-height: 20px;
          color: #004ca7;
          vertical-align: middle;
        }

        > input {
          width: 254px;
          height: 25px;
          border: 1px solid #004ca7;
          opacity: 1;
          border-radius: 4px;
          padding-left: 5px;
          margin-right: 8px;
          color: #004ca7;
          vertical-align: middle;
        }

        > div {
          display: inline-block;
          font-size: 18px;
          padding: 1px 10px;
          border-radius: 4px;
          vertical-align: middle;
          cursor: pointer;

          &:nth-child(3) {
            color: rgba(2, 200, 108, 1);
            background: #f1fff8;
            border: 1px solid #02c86c;
            position: relative;
            margin-right: 20px;

            > input {
              width: 0px;
              position: absolute;
              left: 0;
              opacity: 1;
              cursor: pointer;
            }
          }

          &:nth-child(4) {
            color: rgba(82, 48, 233, 1);
            background: rgba(235, 230, 255, 1);
            border: 1px solid rgba(82, 48, 233, 1);
          }
        }
      }
    }

    .el-dialog__footer {
      padding-bottom: 76px;

      .green {
        padding: 1px 17px;
      }
    }
  }
}
</style>
<style lang="less" scoped>
@import "../../../styles/paper-prints.less";

.el-dialog__wrapper { ::v-deep .el-dialog {overflow: auto;height: 439px;}}
.plan-entry-table-container {
  margin-top: 30px;
  .table-data {
    width: 100%;
    border: 0.8px solid #004ca7;
    border-radius: 9px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #004ca7;
  }
}
</style>
